#include <iostream>
using namespace std;
int main()
{int n;double c=0;
 for (n=1;n<=2;n++)
   {c=c+1.0/(n+1);}
   cout<<c<<endl;
 system ("pause");
 return 0;
}
